<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
	<link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/font-awesome.min.css">

</head>
<body>
	<!-- 面板 -->
<div class="panel panel-default">
  <!-- 面板头-->
  <div class="panel-heading">
  	<i class="glyphicon glyphicon-th"></i>预售申请
  </div>
    <!-- 面板体-->
  <div class="panel-body">
  <form>
  <div class="form-group">
    <label for="exampleInputEmail1">工号</label>
    <input type="text" class="form-control" id="staff_job" placeholder="请输入工号" name="staff_job">
  </div>
      <div class="form-group">
    <label for="exampleInputEmail1">密码</label>
    <input  type="hidden" class="form-control" id="staff_psw" value="123" placeholder="请输入密码" name="staff_psw">
  </div>
    <div class="form-group">
    <label for="exampleInputPassword1">员工姓名</label>
    <input type="text" class="form-control" id="staff_name" placeholder="员工姓名" name="staff_name">
  </div>
  <div class="form-group">
    <label for="exampleInputPassword1">员工年龄</label>
	<input type="number" class="form-control" id="staff_age" placeholder="员工年龄" name="staff_age">
  </div>
    <div class="form-group">
    <label for="exampleInputPassword1">员工性别</label>
    <select name="staff_sex">
    	<option>男</option>
    	<option>女</option>
    </select>
  </div>
      <div class="form-group">
    <label for="exampleInputPassword1">联系方式</label>
    <input type="tel" class="form-control" id="staff_tele" placeholder="员工电话" name="staff_tele">
  </div>
  <div class="form-group">
    <label for="exampleInputPassword1">入职日期</label>
    <input type="date" class="form-control" id="staff_date" placeholder="入职日期" name="staff_date">
</div>
  <div class="form-group">
    <label for="exampleInputPassword1">住址</label>
    <input type="text" class="form-control" id="staff_address" placeholder="住址" name="staff_address">
</div>
  <div class="form-group">
    <label for="exampleInputPassword1">部门</label>
    <select class='form-control' name="o_id">
    	<c:forEach items="${sessionScope.org}"  var="org">
    		<option value="${org.organ_name}" >${org.organ_name}</option>
    	</c:forEach>
    </select>
</div>
<div class="form-group">
    <label for="exampleInputPassword1">角色</label>
    <select class='form-control' name="o_id">
    	<c:forEach items="${sessionScope.role}"  var="role">
    		<option value="${role.role_name}" >${role.role_name}</option>
    	</c:forEach>
    </select>
</div>
  <button type="submit" class="btn btn-default">注册</button>
</form>
</div>
</div>

<script type="text/javascript"  src="${pageContext.request.contextPath}/js/jquery-1.12.3.min.js"></script>
<script type="text/javascript"  src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
</body>
</html>